<template>
    <div class="group-list">
        <h4>{{title}}</h4>
        <slot :games="games" :kins="kins">有没有东西啊</slot>
    </div>
</template>
<script>
export default {
    name:'GroupList',
    props:['title'],
    data() {
        return {
            games:['LOL','下棋','打飞机','雷霆战机'],
            languages:['语文','数学','英语','物理'],
            kins:['祁同伟','老墨','高启强','高启盛']
        }
    },
    
}
</script>
<style>
    .group-list{
        width: 300px;
        height: auto;
        background-color: skyblue   ;
    }

    h4{
        background-color: yellowgreen;
        text-align: center;
    }
</style>